<template>
  <button class="btn btn-sm btn-primary" @click="showImportExcel">导入用户文件</button>
  <vue-modal
    :title="title"
    ok-text="提交"
    cancel-text="取消"
    :show.sync="showCodeExcel"
    effect="fade"
    :small="true"
    :width="460"
    :callback="submit">
    <div slot="modal-body" class="modal-body">
      <form class="form-horizontal" role="form">
        <div class="form-group form-group-sm text-left">
          <div class="col-sm-offset-3  col-sm-9 text-left">
            <input type="file" v-el:file v-model="excelParam.excel" accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel" class="set-font control-content">
          </div>
        </div>
      </form>
    </div>
  </vue-modal>
</template>
<script src="./deal-user-excel.js"></script>
